<!DOCTYPE html>
<html lang="en" xmlns:th="https://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>展示学生信息</title>
</head>
<body>
<h1>展示学生信息</h1>
<table style="text-align: center;border-width: 1px;" >
    <tr>
        <th colspan="6"></th>
    </tr>
    <tr>
        <th>id</th>
        <th>name</th>
        <th>age</th>
        <th>phone</th>
        <th>address</th>
        <th>time</th>
    </tr>
    <tr th:each="student:${students}">
        <td th:text="${student.id}"></td>
        <td th:text="${student.stuName}"></td>
        <td th:text="${student.stuAge}"></td>
        <td th:text="${student.mobile}"></td>
        <td th:text="${student.address}"></td>
        <td th:text="${student.entranceTime}"></td>
    </tr>
</table>
</body>
</html>